<?php if(is_object($image)): ?>

	<img src="<?php echo $image->paths['medium'] ?>" />
	
<?php else: ?>

	<p>The image you selected could not be found.</p>
	
<?php endif; ?>